package com.itheima.mapper;
//接口：常量值和方法的定义

import com.itheima.bean.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserMapper {
    /**
     *
     * @param name
     * @param password
     */
    User login(String name, String password);

    /**
     *
     * @param name
     * @param password
     * @return
     */
    boolean register(String name, String password);

    /**
     *
     * @return
     */
    List<User> getUsers();


}
